[Bug]: New tenant creation gets stuck at “creating tenant” screen

Repo: · Issue: #274 Status: Open · Priority: P2 Assignee: Raymond Labels: bug

Description

Steps to reproduce

To reproduce:

  1. In staging create a new user
  2. Activate the email
  3. Connect an integration
  4. Wait…

Note: Not sure if this is a front or backend issue

See corresponding backend logs:

579927041Z   - 2024-09-23T09:28:31:826136 [forwards]... ok! ✔️
2025-04-03T13:04:55.442714494Z   - 2024-09-25T11:48:29:780897 [forwards]... ok! ✔️
2025-04-03T13:04:58.320498752Z   - 2024-10-14T22:51:52:235645 [forwards]... ok! ✔️
2025-04-03T13:04:58.924494894Z   - 2024-11-05T19:37:03:725697 [forwards]... ok! ✔️
2025-04-03T13:04:59.795346955Z   - 2024-11-11T16:16:26:054483 [forwards]... ok! ✔️
2025-04-03T13:05:00.178768547Z   - 2024-11-19T16:57:46:387873 [forwards]... ok! ✔️
2025-04-03T13:05:00.330659721Z 2025-04-03 13:05:00.328|INFO|master|tenants:241|Tenant 'Martin204o': registered under 'Martin 20' name.
2025-04-03T13:05:24.875814700Z 2025-04-03 13:05:24.875|INFO|-no-tenant|fastapi_utils:220|START  GET http://10.0.2.53:8000/health from 10.0.2.33
2025-04-03T13:05:24.876222850Z 2025-04-03 13:05:24.876|INFO|-no-tenant|fastapi_utils:306|FINISH GET http://10.0.2.53:8000/health took 0.000: 200 no auth size=246
2025-04-03T13:05:29.761557145Z 2025-04-03 13:05:29.761|INFO|-no-tenant|_client:1013|HTTP Request: POST https://bkibzsvmflcbuuqoogzf.supabase.co/auth/v1/token?grant_type=refresh_token "HTTP/2 200 OK"
2025-04-03T13:05:30.028202060Z 2025-04-03 13:05:30.028|INFO|-no-tenant|_client:1013|HTTP Request: POST https://bkibzsvmflcbuuqoogzf.supabase.co/auth/v1/token?grant_type=refresh_token "HTTP/2 200 OK"
2025-04-03T13:05:39.192132723Z 2025-04-03 13:05:39.191|INFO|-no-tenant|fastapi_utils:220|START  PATCH http://staging.twillai.com/api/v1/llmchats/20 from 77.239.164.254
2025-04-03T13:05:40.661296005Z 2025-04-03 13:05:40.661|INFO|zxcktkofq1|fastapi_utils:304|FINISH PATCH http://staging.twillai.com/api/v1/llmchats/20 took 1.469: 200 duration=1468ms size=227
2025-04-03T13:05:40.913936641Z 2025-04-03 13:05:40.913|INFO|-no-tenant|fastapi_utils:220|START  GET http:/

## Implementation Notes
_Dash adds notes here while working_

## Related
_Link to people, meetings, dependent tickets_